<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>

        //比较运算符

        var num1 = 10;
        var num2 = 20;
        var num3 = 3;
        var num4 = "10";

        console.log("num1 > num2  ",num1 > num2);
        console.log("num1 < num2  ",num1 < num2);
        console.log("num1 <= num2  ",num1 <= num2);
        console.log("num1 >= num2  ",num1 >=num2);
        console.log("num1 == num4  ",num1  == num4);
        console.log("num1 === num4  ",num1  === num4);
    





        

   </script>
</head>
<body>



    

    
</body>
</html>